Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- asp.net development



  Execute PHP from a .html File

How can I execute PHP code on my existing myfile.html page?:When a web page is accessed, the server checks the extension to know how to handle the page. Generally speaking if it sees a .htm or .html file, it sends it right to the browser because it doesn't have anything to process on the server. If it sees a .php extension (or .shtml, or .asp, etc), it knows that it needs to execute the appropriate code before passing it along to the browser. Here is the problem: You find the perfect ...

   PHP,HTML,PHP in HTML,AddType     2011-12-26 14:01:20

  The Death of .NET and the Power of Perception

One of my long-standing issues with Microsoft is its inability to control the perceptions surrounding its own products. One of the biggest examples was during the Windows Vista years when, even after the product had been fully patched and worked fine, Apple continued to do a better job to define the image of Windows (compilation of ads here) than Microsoft did, costing Microsoft billions in lost revenue for the millions it saved on a strong advertising campaign. The firm has a history of being p...

   .NET,future,death,bottleneck,development     2011-08-10 03:13:40

  Run MySQL on Command Line in Windows

Sometimes if we want to run MySQL but we don't have phpMyAdmin installed. What should we do?On Windows we can run MySQL in following steps:Open Console Window->Type "mysqld -u root". This means we start the mysql server with username root. This program will handle all the communications between our console window and the actual data;After starting the server, we need to use a client to connect to the server and communicate with it. the mysql program is right for this. Next in the command cons...

   mysql,console,command line,windows,defau     2011-08-21 04:14:58

  Today in history : Steve Wozniak invented Apple I in 1975

The original Apple Computer, also known retroactively as the Apple I, or Apple-1, is a personal computer invented by Steve Wozniak ion 29th June, 1975. Wozniak's friend Steve Jobs had the idea of selling the computer. Features:CPU : MCStek 6502CPU Speed : 1MHzBus Speed : 1MHzMemory : 8KbResolution : 60.05 Hz, 40*24 charactersPower : 58WPrice : $666.66The Apple I went on sale in July 1976 at a price of US$666.66, because Wozniak "liked repeating digits" and because they originally sold it to a lo...

   Apple I,History,Steve Wozniak     2012-06-29 06:00:08

  Symbian is dead

Although Nokia has repeatedly indicated that it will give up Symbian, but no one thought their actions would be so fast. This morning, some people from Nokia Italy said Symbian's life will be ended prematurely. The source revealed some information of Symbian's future.  The Nokia 808 will be equipped with the Symbian Belle FP1 system, Nokia will soon provide updates to this hand phone with Symbian Belle FP2, the platform will no longer receive any updates there after..Of course, this also me...

   Nokia,Symbian,Death     2012-05-24 04:57:16

  PHP 7 is coming soon

After a few RCs, PHP 7 will be officially released on November 12, 2015. This is a major release of PHP since PHP 5.6. @Laruence, one of the core contributors of PHP, has posted this news on Weibo(China's Twitter).  This is a one month later than the expected time as recorded in PHP 7 timeline. But it's not that late. The new release will come with a few features including: Scalar type declaration, you can define variable like int now Return type support. Besides declare scalar type ...

   RELEASE DATE,PHP7     2015-11-08 09:13:37

  A Perl Regular Expression That Matches Prime Numbers

perl -lne '(1x$_) =~ /^1?$|^(11+?)\1+$/ || print "$_ is prime"' Can you figure out how it works? I give an explanation below, but try to figure it out yourself. Here is what happens when you run it: $ perl -lne '(1x$_) =~ /^1?$|^(11+?)\1+$/ || print "$_ is prime"' 1 2 2 is prime 3 3 is prime 4 5 5 is prime 6 7 7 is prime 8 9 10 11 11 is prime Here is how it works. First, the number is converted in its unary representation by (1x$_). For example, the number 5 gets converted into 1x5, which is ...

   Perl,Regex,Regular expression,Prime number,One line     2011-12-26 08:42:00

  Jack Ma speaks within the company's intranet post PDD earnings report

On November 28th, PinDuoDuo(PDD) released its financial report for the third quarter of 2023, ending on September 30th. The revenue for the third quarter was 688.4 billion RMB, showing a year-on-year growth of 93.9%. The net profit, according to the U.S. General Accounting Standards, reached 15.54 billion RMB, with a net profit margin of 22.6%. PDD attributed its overall positive performance to the accelerated recovery of the consumer market and the vigorous implementation of its "high-qual...

   PDD,JACK MA,ALIBABA     2023-11-29 06:02:09

  Global web browser market share statistic in June

The war among the leading web browsers is still on after Google Chrome took over IE as the No.1 web browser last month. Let's take a look at the market share for different web browsers in June 2012.According to statCounter.  Chrome still remains at the No. 1 position and its market share is continuously increasing. Its market share increases by 0.28% from 32.43% in May to 32.71% in June. While for IE, eve. though it lost its No. 1 position to Chrome last month, its market share still...

   Web browser, Market share,June,2012     2012-07-02 06:08:17

  Hidden messages in logos

A logo is the simplest thing a user can remember about a product or a company. A good logo design will leave deep impression to customers. Each logo tries to convey either their product information or company vision to customers, this information may be easily understood with a glance or it contains some hidden messages which need us to figure out. Today we share some logos which contain some hidden messages. 1. Fedex The arrow between E and X means Fedex will deliver the product to the right p...

   Logo,Meaning     2013-10-01 07:52:05